home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 January
/
PCWorld_2007-01_cd.bin
/
v cisle
/
autoit
/
autoit-v3.2.0.1-setup.exe
/
Examples
/
Helpfile
/
_ProcessGetName.au3
< prev
next >
Wrap
Text File
|
2006-06-17
|
205b
|
8 lines
#include <Process.au3>
Run("notepad.exe")
WinWaitActive("Untitled - Notepad", "")
$pid = WinGetProcess("Untitled - Notepad", "")
$name = _ProcessGetName($pid)
MsgBox(0, "Notepad - " & $pid, $name)